package com.morehair.bean.vo.wx;

import lombok.Data;

import java.util.List;

/**
 * @Author: DLX
 * @Date: 2021/6/8 9:44
 * @Description:
 **/

@Data
public class WxBaseData<T> {

    List<T> data;
    long count;

    public static <T> WxBaseData ok(List<T> data, long count) {
        WxBaseData<T> wxBaseData = new WxBaseData<>();
        wxBaseData.setData(data);
        wxBaseData.setCount(count);
        return wxBaseData;
    }
}
